<template>
       <a-row>
      <a-col :span="20">
        <a-button type="primary"> 添加 </a-button>
      </a-col>
      <a-col :span="4">
        <a-input-search placeholder="" enter-button @search="onSearch" />
      </a-col>
    </a-row>
</template>
<script>
export default {
    methods:{
        onSearch(){
            let data={}
            this.$emit('onSearch',data)
        }
    }
}
</script>